import {useRoutes} from "react-router-dom";
import routes from "@/router";
import PrivatePage from "@/components/PrivatePage";

export default function App() {
  const outlet = useRoutes(routes)

  return (
    <div>
      <PrivatePage>
        {outlet}
      </PrivatePage>
    </div>
  )
}

